package com.cloud.hello.impl.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "USER-SERVICE-IMPL", fallback = UserClientFallback.class)
public interface UserClient {
    @GetMapping("/user")
    public ResponseEntity<String> user();
}
